using System;
using TestMonkey.Models;

namespace TestMonkey.Templates
{
    public class EditableObject : TemplateProcessor
    {
        protected override bool ShouldRun(ModelRoot model)
        {
            if (model == null)
                throw new ArgumentNullException("model", "model is null.");

            return model.Class.IsCreatable && model.Class.HasInteface("IEditableObject");
        }

    }
}
